/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.ref;

/**
 * <p>Project: app2022 - R2
 * <p>Powered by webrx On 2022-02-09 14:38:22
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class R2 {
    public static void main(String[] args) {
        Class<int[][]> cc = int[][].class;
        Class<?> cc2 = int[][].class;
        var cc3 = int[][].class;

        var i = int.class;
        System.out.println(i.getName());//int

        var ii = Integer.class;
        System.out.println(ii.getName());  //java.lang.Integer
        System.out.println(ii.getPackageName());//java.lang
        System.out.println(ii.getTypeName());//java.lang.Integer
        //package java.lang;

        System.out.println(ii.isInterface());
        System.out.println(ii.isArray());
        System.out.println(ii.isEnum());
        System.out.println(ii.isRecord());
        System.out.println(ii.isLocalClass());
        System.out.println(ii.isMemberClass());
        System.out.println(i.isPrimitive());//是基本类型（int)
        System.out.println(ii.isPrimitive());//false


    }
}
